<template>
  <div>
    
  </div>
</template>


<script>
export default {
  name: "list",
  data() {
    return {
      form: {
        name: "",
        join_people: "",
        router: "",
        type: "pc",
        open_ssr: false,
        desc: "",
      },
    };
  },
  methods: {
    onSubmit() {
      console.log(this.form);
      this.$http.post("/page/add",this.form).then((res) => {
          console.log(res)
          if(res.success){
            this.$message({
              message: '添加页面成功',
              type: 'success'
            });
          }
      })
    },
  },
  created() {},
};
</script>
<style lang="stylus" scoped>
.pageWrap 
  padding: 20px;
  width 1000px;
  margin  0 auto
  .title
    margin-bottom 40px
</style>

 